<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>推广收益 | 商超财富宝</title>
    <link rel="icon" type="image/x-icon" href="../favicon.ico" /><link rel="stylesheet" type="text/css" href="../public/css/weui.min.css">
    <link rel="stylesheet" type="text/css" href="../public/css/jquery-weui.css">             
    <link rel="stylesheet" type="text/css" href="../public/css/reset.css">
    <script type="text/javascript" src="../public/js/rem.js"></script>
    <link rel="stylesheet" type="text/css" href="../static/css/expandIncome.css">
</head>

<body>
    <div class="container">
        <!-- 头部 -->
        <header>
            <!-- 返回箭头 -->
            <a onclick = "javascript:window.history.back(-1);return false">
                <img src="../static/images/icon_back.png">
            </a>
            <span>推广收益</span>
        </header>

        <div class="main">
            <!--推广收益内容 -->
            <!-- <section>
                <h4>
                    <span>2017年推广收益</span>
                    <div class="fr year_sum">
                        <span>合计:</span>
                        <span>6800.00金币</span>
                    </div>
                </h4>
                <ul class="infor">
                    <li>
                        <a href="./expandDetail.html" class="clearfix">
                            <span class="fl month_sum">04月推广累计收益</span>
                            <div class="fr month">
                                <span>400.00金币</span>
                                <span>></span>
                            </div>
                        </a>
                    </li>
                </ul>
            </section> -->
        </div>
    </div>
</body>
<script type="text/javascript" src="../public/js/jquery.js"></script>
<script type="text/javascript" src="../public/js/jquery-weui.js"></script>
<script type="text/javascript" src="../public/js/template-web.js"></script>
<script type="text/javascript" src="../public/js/jquery.cookie.js"></script>
<script type="text/javascript" src="../static/js/expandIncome.js"></script>
<!-- 推广收益数据渲染 -->
<script type="text/html" id="expend">
    {{each result value i}}
    <section>
        <h4>
            <span>{{value.year}}</span>
            <div class="fr year_sum">
                <span>合计:</span>
                <span>{{value.sumMoney}}金币</span>
            </div>
        </h4>
        <ul class="infor">
            {{each value.result v i}}
            <li>
                <a href="../templates/expandDetail.html?startDate={{value.year.substring(0,4)}}-{{v.month.substring(0,v.month.length-7)}}" class="clearfix">
                    <span class="fl month_sum">{{v.month}}</span>
                    <div class="fr month">
                        <span>{{v.summonth}}金币</span>
                        <span>></span>
                    </div>
                </a>
            </li>
            {{/each}}
        </ul>
    </section>
    {{/each}}
</script>
</html>